# 同name定位元素

from selenium import webdriver
import time
driver = webdriver.Chrome()
driver.get("http://127.0.0.1:88/zentao/user-login-L3plbnRhby8=.html")
driver.find_element_by_name("account").send_keys("admin")
driver.find_element_by_name("password").send_keys("*****")
time.sleep(3)
driver.find_element_by_id("submit").click()
time.sleep(3)
driver.quit()


